<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns="http://www.w3.org/1999/xhtml" version="1.1">

<xsl:template match="users">
<div class="user">
	<xsl:choose>
		<xsl:when test="not(error=0)">
			<p class="error"><xsl:value-of select="error"/></p>
		</xsl:when>
		<xsl:otherwise>
			<p class="userText"><xsl:value-of select="user"/></p>
		<xsl:otherwise>
	</xsl:choose>
</div>
</xsl:template>

</xsl:stylesheet>